<?php
	include_once('inc_points.php');
	
	$playerpunkte=0;
	$playerpunkte=$_POST['playerpunkte'];

	$name = "";
	$name = $_POST['playername'];
   
   //Punktzahl pro Frage in DB eintragen
    $query = "INSERT INTO singlepoints(player, points) VALUES('$name', '$playerpunkte')";
    $result = mysql_query($query, $conn);

	echo $result;
?>